package com.abe.bathsystem.entity.serial;


public class DeviceWaterUsageEntity {
    //用水量
    private int waterUsage;
    //是否故障
    private boolean isFault;

    public DeviceWaterUsageEntity(int waterUsage, boolean isFault) {
        this.waterUsage = waterUsage;
        this.isFault = isFault;
    }

    public boolean getIsFault() {
        return isFault;
    }

    public void setIsFault(boolean isFault) {
        this.isFault = isFault;
    }

    public int getWaterUsage() {
        return waterUsage;
    }

    public void setWaterUsage(int waterUsage) {
        this.waterUsage = waterUsage;
    }
}